package com.example.damaimaven.mapper;

import com.example.damaimaven.entity.Categorysecond;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author zzh
 * @since 2024-07-09
 */
public interface CategorysecondMapper extends BaseMapper<Categorysecond> {
    @Select("select * from categorysecond where cid=#{cid}")
    List<Categorysecond> selectByCid(int cid);

}
